package org.dfg.corejava.designPattern.decorator;

public class GreetBefore extends GreetDecorator {

	public GreetBefore(Greet greet) {
		super(greet);
	}

	@Override
	public void say() {
		this.before();
		super.say();
	}

	private void before() {
		System.out.println("before");
	}

}
